package com.example.demo.domain;


public class Curriculum {

    /**
     * 课程编号
     */
    private String courseNo;

    /**
     * 课程名称
     */
    private String courseTitle;

    /**
     * 学分
     */
    private int credit;

    public String getCourseNo() {
        return courseNo;
    }

    public void setCourseNo(String courseNo) {
        this.courseNo = courseNo;
    }

    public String getCourseTitle() {
        return courseTitle;
    }

    public void setCourseTitle(String courseTitle) {
        this.courseTitle = courseTitle;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }

    @Override
    public String toString() {
        return "Curriculum{" +
                "courseNo='" + courseNo + '\'' +
                ", courseTitle='" + courseTitle + '\'' +
                ", credit=" + credit +
                '}';
    }
}
